home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
toolbox
/
max2
< prev
next >
Wrap
Text File
|
1994-05-08
|
494b
|
20 lines
//-------------------------------------------------------------------//
//
// Syntax: max2 ( A, B )
// Description:
// Return a matrix the same size as A and B with the largest
// elements taken from A and B.
// Note: the builtin function max now handles this condition.
// This file is maintained for backward compatibility.
//-------------------------------------------------------------------//
max2 = function(a,b)
{
return max(a,b);
// return (b+(a-b).*(a>b));
};